package torpedo_server.messages;

import java.io.Serializable;

public class StartBattleMessage extends Message implements Serializable {

    private String mess;

    public StartBattleMessage(String mess) {
        String start = "STARTBATTLE-";
        String end = "-ENDBATTLE";
        this.mess = start + mess + end;
    }

    @Override
    public String getType() {
        return ("StartBattleMessage");
    }

    @Override
    public String getMessage() {
        return this.mess;
    }
}